-module(chat_client).
-export([start/0]).

start() ->
	connect("localhost", 2223).
	
connect(Host, Port) ->
	io:format("~s:~p~n",[Host,Port]),
	spawn(fun() -> handler(Host, Port) end).
	
handler(Host, Port) ->
	io:format("~s:~s~n",[Host,Port]).